﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Sugar.hisEnties
{
    ///<summary>
    ///检查申请单
    ///</summary>
    [SugarTable("EMR_JCSQ")]
    public partial class EMR_JCSQ
    {
           public EMR_JCSQ(){


           }
           /// <summary>
           /// Desc:申请单号
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public decimal SQDH {get;set;}

           /// <summary>
           /// Desc:病人唯一标识
           /// Default:
           /// Nullable:False
           /// </summary>           
           public decimal BRID {get;set;}

           /// <summary>
           /// Desc:1 门诊 2 住院
           /// Default:
           /// Nullable:False
           /// </summary>           
           public decimal JZLX {get;set;}

           /// <summary>
           /// Desc:根据就诊类型（就诊序号/住院号）
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string JZHM {get;set;}

           /// <summary>
           /// Desc:病人姓名
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string BRXM {get;set;}

           /// <summary>
           /// Desc:病人科室
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? BRKS {get;set;}

           /// <summary>
           /// Desc:病人床号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BRCH {get;set;}

           /// <summary>
           /// Desc:病人性别
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? BRXB {get;set;}

           /// <summary>
           /// Desc:病人年龄
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BRNL {get;set;}

           /// <summary>
           /// Desc:疾病编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? JBBH {get;set;}

           /// <summary>
           /// Desc:疾病ICD10码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ICD10 {get;set;}

           /// <summary>
           /// Desc:疾病名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string JBMC {get;set;}

           /// <summary>
           /// Desc:开单时间
           /// Default:
           /// Nullable:False
           /// </summary>           
           public DateTime KDSJ {get;set;}

           /// <summary>
           /// Desc:开单医生
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string KDYS {get;set;}

           /// <summary>
           /// Desc:开单科室
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? KDKS {get;set;}

           /// <summary>
           /// Desc:检查类型（EMR_DMZD.DMLB=101）
           /// Default:
           /// Nullable:False
           /// </summary>           
           public decimal JCLX {get;set;}

           /// <summary>
           /// Desc:检查目的（BS-EMR4.3_V2.4中修改为TEXT类型）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string JCMD {get;set;}

           /// <summary>
           /// Desc:紧急标志（0 一般 1 紧急）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public decimal JJBZ {get;set;}

           /// <summary>
           /// Desc:执行位置（1.床旁执行 2.术中执行 3.院外执行）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? ZXWZ {get;set;}

           /// <summary>
           /// Desc:检查状态（GY_XTPZ.DMLB = 314） （0 新增 1 提交 2 预约 3 已检查 4 已报告 5 已审核 6 再审 7 打印 9 RIS退回）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public decimal JCZT {get;set;}

           /// <summary>
           /// Desc:作废标志（0 未作废 1 已作废）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public decimal ZFBZ {get;set;}

           /// <summary>
           /// Desc:提交时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? TJSJ {get;set;}

           /// <summary>
           /// Desc:提交医生
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string TJYS {get;set;}

           /// <summary>
           /// Desc:预约时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? YYSJ {get;set;}

           /// <summary>
           /// Desc:检查时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? JCSJ {get;set;}

           /// <summary>
           /// Desc:检查医生
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string JCYS {get;set;}

           /// <summary>
           /// Desc:报告时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? BGSJ {get;set;}

           /// <summary>
           /// Desc:报告医生
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BGYS {get;set;}

           /// <summary>
           /// Desc:审核时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? SHSJ {get;set;}

           /// <summary>
           /// Desc:审核医生
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SHYS {get;set;}

           /// <summary>
           /// Desc:备注信息
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BZXX {get;set;}

           /// <summary>
           /// Desc:执行科室
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? ZXKS {get;set;}

           /// <summary>
           /// Desc:RIS退回医生
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? THSJ {get;set;}

           /// <summary>
           /// Desc:RIS退回时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string THYS {get;set;}

           /// <summary>
           /// Desc:RIS系统接收标志（0 未接收 1 已接收）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public decimal JSBZ {get;set;}

           /// <summary>
           /// Desc:RIS系统登记序号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string RISID {get;set;}

           /// <summary>
           /// Desc:检查项目名称列表
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string JCXM {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string WJZNR {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string QRYS {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? QRSJ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CLYJ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? WJZFSSJ {get;set;}

           /// <summary>
           /// Desc:默认0-不属于危急值检查单， 1-未处理危急值检查单， 2-已处理危急值检查单
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? WJZCLZT {get;set;}

           /// <summary>
           /// Desc:
           /// Default:1
           /// Nullable:False
           /// </summary>           
           public decimal JGID {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? SFZT {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string jcdd {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string sssj {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bbcj_bw1 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bbcj_bw2 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string czhcbj {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? bbcjrq {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bbjc_bjh {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bbjc_zd {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string zl_bw {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? zl_fxrq {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string zl_dx {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string zl_szsd {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string zl_yd {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string zl_hdd {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string zl_ywzy {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string fk_yjzq {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? fk_mcyjrq {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string fk_yjl {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? fk_ggrq {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string fk_jszl {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? fk_jszlrq {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string fk_jszljl {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string fk_ygbyqk {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string fk_ywcrb {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public decimal? dybz {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bbcj_bw3 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bbcj_bw4 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? zyddysj {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? FYBZ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? yysxh {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? YYTIMEBEGIN {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? bqdm {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? zlxz {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string WJZFSYS {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? dysj {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string dygh {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? cbbgsj {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string cbbgr {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? SFPJ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? QWFS {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PJRXX {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? PJRS {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string HSJSGH {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? HSJSSJ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bgdyr {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? bgdysj {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? YYCZSJ {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? TSLX {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? SZYXFW {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? MSYJXH {get;set;}

    }
}
